package duhosdebuggolok;

import java.util.EventObject;

public class AntSmellCreateEvent extends EventObject{
	
	private AntSmell smell;
	private AntSmellPainter smellpainter;
	
	public AntSmellCreateEvent(Object source, AntSmell as, AntSmellPainter asp) {
		super(source);
		smell = as;
		smellpainter = asp;
	}

	public AntSmell getSmell() {
		return smell;
	}
	
	public Ant getSource() {
		return (Ant)source;
	}
	
	public AntSmellPainter getPainter() {
		return smellpainter;
	}
	
}
